import '@/assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

// 导入Element Plus暗黑模式样式
import 'element-plus/theme-chalk/dark/css-vars.css'
// 导入自定义暗黑模式样式
import '@/assets/dark.scss'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import '@/assets/Icon-font.css'
const app = createApp(App)
app.use(router)
app.use(createPinia())
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.mount('#app')
